package org.lwd.datalink.api.handle;


import org.lwd.datalink.api.task.RecordChunk;
import org.lwd.datalink.api.task.TaskWriterContext;

/**
 * @Author: weidong.lin
 * @Description: Handler
 * @Date: create in 2024/3/14 14:52
 */
public interface Handler {

    void initialize(TaskWriterContext context);
    void destroy();
    void writeData(RecordChunk recordChunk, TaskWriterContext context);
}
